package com.example.study.testSwap;

/**
 * 测试线程
 *
 * @author hjh
 * @create 2019-08-17 11:58
 **/
public class MyThread implements Runnable{
    private int ticket = 100;
    public void run(){
        while(ticket>0){
            System.out.println(ticket--+"===="+Thread.currentThread());
        }
    }
}
